//
//  ZYDateSelectView.h
//  YiLin
//
//  Created by Zyark on 2018/6/7.
//  Copyright © 2018年 Zyark. All rights reserved.
//

#import <UIKit/UIKit.h>

@class ZYDateSelectView;
@class ZYModeTypeModel;
@protocol ZYDateSelectViewDelegate <NSObject>
@optional

/**
 当前选中时间

 @param dateSelectView 当前视图
 @param model model
 */
-(void)dateSelectView:(ZYDateSelectView *)dateSelectView didSelectWithModel:(ZYModeTypeModel *)model;
@end

@interface ZYDateSelectView : UIView
/**
 显示或关闭
 */
-(void)showOrHidden;

/**
 关闭
 */
-(void)close;

@property(nonatomic,assign)CGFloat realHeight;

@property(nonatomic,strong)ZYModeTypeModel *model;

@property(nonatomic,weak) id<ZYDateSelectViewDelegate> delegate;

@end
